package com.zhuiyi.yiqingbackend.service;

import com.zhuiyi.yiqingbackend.domain.Base;
import com.zhuiyi.yiqingbackend.domain.request.ChangeBaseStatus;

import java.util.List;

public interface BaseService {
    public List<Base> getBases();

    public boolean addBase(Base base);

    public boolean deleteBaseById(int id);

    public boolean updateBase(Base base);

    public Base getBaseById(int id);
    public List<Base> getBaseById2(int id);

    public Base getBaseByPhone(String phone);

    boolean updateBaseStatus(ChangeBaseStatus changeBaseStatus);
}
